<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 2012-2-12 22:18:43 by Hibernate Tools 3.4.0.CR1 -->
<hibernate-mapping>
    <class name="com.church.db.TblBaseResource" table="tbl_base_resource" catalog="church">
        <id name="id" type="java.lang.Long">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="resourceId" type="string">
            <column name="resource_id" length="20" not-null="true" />
        </property>
        <property name="fatherId" type="string">
            <column name="father_id" length="20" not-null="true" />
        </property>
        <property name="resourceName" type="string">
            <column name="resource_name" length="50" not-null="true" />
        </property>
        <property name="sysCode" type="string">
            <column name="sys_code" length="20" />
        </property>
        <property name="resourceUrl" type="string">
            <column name="resource_url" length="100" not-null="true" />
        </property>
        <property name="orderNum" type="string">
            <column name="order_num" length="10" not-null="true" />
        </property>
        <property name="showType" type="string">
            <column name="show_type" length="2" />
        </property>
        <property name="remarks" type="string">
            <column name="remarks" length="50" />
        </property>
        <property name="creatUserId" type="string">
            <column name="creat_user_id" length="20" not-null="true" />
        </property>
        <property name="createTime" type="string">
            <column name="create_time" length="14" not-null="true" />
        </property>
        <property name="lastUpdUserId" type="string">
            <column name="last_upd_user_id" length="20" not-null="true" />
        </property>
        <property name="lastUpdDes" type="string">
            <column name="last_upd_des" length="20" not-null="true" />
        </property>
        <property name="lastUpdTime" type="string">
            <column name="last_upd_time" length="14" not-null="true" />
        </property>
        <property name="reserved1" type="string">
            <column name="reserved1" length="30" />
        </property>
        <property name="reserved2" type="string">
            <column name="reserved2" length="30" />
        </property>
    </class>
</hibernate-mapping>
